package com.ryskoo.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * 权限服务常量
 *
 * @author Shawn
 */
public class PermissionConstant {

    /**
     * 管理员默认登录密码
     */
    public static final String DEFAULT_PASSWORD = "111111";

    /**
     * 管理员 -- 身份
     */
    private static Map<String, String> managerIdentityMap = new HashMap<>();
    /** 内勤 */
    public static final String IDENTITY_MANAGER = "1";
    /** 业务员 */
    public static final String IDENTITY_SALESMAN = "2";
    /** 老板 */
    public static final String IDENTITY_BOSS = "3";
    /** 司机 */
    public static final String IDENTITY_DRIVER = "4";

    /**
     * 管理员 -- 账户状态
     */
    private static Map<String, String> managerStateMap = new HashMap<>();
    /** 激活 */
    public static final String STATE_ACTIVE = "1";
    /** 锁定 */
    public static final String STATE_LOCKED = "0";
}
